package com.bdqn.bean.bo;

/**
 * @author 忍
 * @title: TokenPayloadBo
 * @projectName Teaching
 * @description: TODO
 * @date 2019/6/2110:06
 */

/*
{"userId":2,"nickname":"踏遍三江六案","phone":"138****1111","email":"l***g@qq.com","avatar":"tVLoOm5Ccw_98509999.jpg",
"isSeller":1,"ip":"6d99963776425","iat":1561081111,"exp":1561082311}

 */
public class TokenPayloadBo {
    private Integer userId;
    private String nickName;
    private String phone;
    private String email;
    private String avatar;
    private Integer isSeller;
    private String ip;
    private String iat;
    private String exp;

    @Override
    public String toString() {
        return "TokenPayloadBo{" +
                "userId=" + userId +
                ", nickName='" + nickName + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", avatar='" + avatar + '\'' +
                ", isSeller='" + isSeller + '\'' +
                ", ip='" + ip + '\'' +
                ", iat='" + iat + '\'' +
                ", exp='" + exp + '\'' +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getIsSeller() {
        return isSeller;
    }

    public void setIsSeller(Integer isSeller) {
        this.isSeller = isSeller;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getIat() {
        return iat;
    }

    public void setIat(String iat) {
        this.iat = iat;
    }

    public String getExp() {
        return exp;
    }

    public void setExp(String exp) {
        this.exp = exp;
    }
}
